<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="http://shiro.apache.org/tags" prefix="shiro"%>
<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<title>恒铸智能柜管理平台</title>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/resources/layui/css/layui.css" />
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/layui/layui.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/compBill.js"></script>
</head>
<style>
.layui-table {
	margin: 0 !important;
	width: 100% !important;
}

.layui-table {
	overflow-y: scroll;
}

.none {
	border: 0;
	background-color: white !important;
	margin-top: -27px;
	margin-left: 110px;
}

.layui-table-box [data-field="type"] {
	width: 10% !important;
}

.layui-table-box [data-field="usePerson"] {
	width: 39% !important;
}

.layui-table-box [data-field="isManager"] {
	width: 10% !important;
}

.layui-table-box [data-field="useTime"] {
	width: 39% !important;
}

.laytable-cell-1-usePerson {
	min-width: 100% !important;
}

.laytable-cell-1-type {
	min-width: 100% !important;
}

.laytable-cell-1-isManager {
	min-width: 100% !important;
}

.laytable-cell-1-useTime {
	min-width: 100% !important;
}
.alreadyRefund{
	color: #ff2727;
	border:#ffb1b1 solid 1px;
	padding: 5px;
}
</style>

<body>
	<form class="layui-form" />
	<div class="layui-form-item" style="margin: 30px">
		<div class="layui-inline">
			<label class="layui-form-label">查询条件：</label>
			<div class="layui-input-inline">
				<input class="layui-input" name="startTime" autocomplete="off"
					placeholder="开始日" id="begin">
			</div>
			<div class="layui-input-inline">
				<input class="layui-input" name="endTime" autocomplete="off"
					placeholder="截止日" id="end">
			</div>

			<div class="layui-input-inline">
				<select class="comp" name="compId">
					<c:forEach items="${compList}" var="list">
						<option value="${list.compId }">${list.compName}</option>
					</c:forEach>
				</select>
			</div>

			<div class="layui-input-inline">
				<button class="layui-btn" id="button" type="button">提交</button>
				<a class="layui-btn" style="background-color: #FF5722;" id="xls">导出数据</a>
			</div>
		</div>
	</div>
	</form>
	<table id="operationLog" lay-filter="operationLog"></table>
	</div>
</body>
</html>
<script type="text/javascript">
<shiro:hasPermission name="compBill:refund">
	sessionStorage.setItem("compBill", "refund");
</shiro:hasPermission>
</script>